package com.dzsw.order.controller;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RefreshScope
@RequestMapping("/d2")
public class PayDemo {

    @GetMapping("/t2")
    public String test() throws Exception {
        return "data2";
    }
}
